<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> <tiles:getAsString name="stringTitle"/>  </title>
<link rel="stylesheet" href="<s:url value="/webjars/bootstrap/dist/css/bootstrap.min.css"/>">
	<style type="text/css">
		.borrowList a{
			text-decoration: none;
		}
	</style>
<script type="text/javascript" src="<s:url value="/webjars/jquery/dist/jquery.min.js"/>"></script>
<script type="text/javascript" src="<s:url value="/webjars/bootstrap/dist/js/bootstrap.min.js"/>"></script>
</head>
<body>
	<div>
		<nav class="navbar navbar-default">
			<div class="container-fluid">
				<div class="navbar-header">
					<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-">
						<span class="sr-only">Toggle navigation</span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
					<a class="navbar-brand" href="#">Brand</a>
				</div>
				
				<div class="collapse navbar-collapse">
					<ul class="nav navbar-nav">
						<li class="active"><a href="#">首页</a></li>
						<li><a href="#">投资列表</a></li>
						<li><a href="#">我要借款</a></li>
						<li><a href="<s:url value="/user/index"/>">我的账户</a></li>
						<li><sec:authorize access="hasRole('ADMIN')"></sec:authorize></li>
					</ul>
				</div>
			</div>
		</nav>
	</div>

	<tiles:insertAttribute name="pageContent"/>

	<div>
	
	</div>
</body>
</html>